<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>课程设置</title>
    <%@include file="/WEB-INF/views/common/common.jsp" %>
    <script src="/static/js/system/curriculumtable.js"></script>

</head>
<style>
    #curriculumtable_form td {
        padding: 5px 0px;
    }
    #cc {
        title: '日期';
        float: left;
        margin-right: 0px;
    }
    #curriculumtable2_datagrid {
        float: left;
    }
</style>
<body>

<div class="layui-fluid">

    <div class="layui-card">
        <%--<div class="layui-card-header">日期</div>--%>
        <%--<div class="layui-card-header">课程设置</div>--%>
        <div class="layui-card-body" style="height: 0px; width:auto;">
            <%--<div id="cc" >
                <table class="easyui-calendar" id="study_date"></table>
            </div>--%>
                <%--<form id="curriculumtable2_form" method="post">--%>
                <div id="cc" class="easyui-calendar" name="study_date" style="width:220px;height:280px;"></div>
                <%--</form>--%>
            <%--自己写的管理--%>
            <table id="curriculumtable2_datagrid"></table>
            <!--左上方工具栏-->
            <div id="toolbar">
               <div>
                   <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
                   <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
                   <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
                   <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>


                   <%--<a href="javascript:;" class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="add">新增</a>--%>
                   <%--<a href="javascript:;" class="easyui-linkbutton" iconCls="icon-edit" plain="true" data-cmd="edit">编辑</a>--%>
                   <%--<a href="javascript:;" class="easyui-linkbutton"     iconCls="icon-remove" plain="true" data-cmd="remove">删除</a>--%>
                   <%--<a href="javascript:;" class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reload">刷新</a>--%>
                   <!--高级查询-->
                   <%--<input id="keyword" class="easyui-textbox" name="keywords" prompt="请输入课程名称"/>--%>
                           <%--<input  class="easyui-combobox" id="curriculumtableId" data-options="
                                        url:'/curriculumtable/selectAll',
                                        valueField: 'id',
                                        textField: 'name'"
                                        prompt="请选择课程系列" />--%>
                   <%--<a class="easyui-linkbutton" data-options="iconCls:'icon-search' " data-cmd="query">查询</a>--%>
               </div>

            </div>


            <!--模态框-->
            <div id="curriculumtable_dialog" class="easyui-dialog">
                <form id="curriculumtable_form" method="post">
                    <table style="margin: 0px auto;margin-top: 20px;">
                        <input type="hidden" id="curriculumtableId" name="id" />
                        <tr>
                            <td>上课日期:</td>
                            <td>
                                <input type="text" class="easyui-datetimebox" name="classdate"/>
                            </td>
                        </tr>
                        <tr>
                            <td>星期:</td>
                            <td>
                                <input type="text" class="easyui-textbox" name="classweek"/>
                            </td>
                        </tr>
                        <tr>
                            <td>班级:</td>
                            <td>
                                <input type="text" class="easyui-textbox" name="grades"/>
                            </td>
                        </tr>
                        <tr>
                            <td>课程名称:</td>
                            <td>
                                <input type="text" class="easyui-textbox" name="curriculums"/>
                            </td>
                        </tr>
                        <tr>
                            <td>教室地址:</td>
                            <td>
                                <input type="text" class="easyui-textbox" name="classrooms"/>
                            </td>
                        </tr>
                        <tr>
                            <td>班主任:</td>
                            <td>
                                <input type="text" class="easyui-textbox" name="headteacher"/>
                            </td>
                        </tr>
                        <tr>
                            <td>上课老师:</td>
                            <td><input type="text" class="easyui-textbox" name="teachstaff"/>
                            </td>
                        </tr>
                        <tr>
                            <td>备注:</td>
                            <td><input type="text" class="easyui-textbox" name="explanatorycommen"/>
                            </td>
                        </tr>
                        <tr>
                        <tr>
                            <td>状态:</td>
                            <td><input type="text" class="easyui-combobox" name="state" data-options="valueField:'value',
                                                                                                          textField:'text',
                                                                                                          data:[{
                                                                                                            value:'0',
                                                                                                            text:'停用',
                                                                                                          },{
                                                                                                          value:'1',
                                                                                                          text:'可用',
                                                                                                          }],panelHeight:'auto'"/>
                            </td>
                    </table>
                </form>

                <%--<!--模态框管理-->--%>
                <div id="form_btns">
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-save" plain="true"
                       data-cmd="saveOrUpdate">保存</a>
                    <a href="javascript:;" class="easyui-linkbutton" iconCls="icon-cancel" plain="true"
                       data-cmd="cancel">取消</a>
                </div>
            </div>

        </div>
    </div>
</div>
</body>
</html>